home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / MySql / my.cnf < prev    next >
Encoding:
Text File  |  2001-01-01  |  2.2 KB  |  80 lines

  1. # Example mysql config file for small systems.
  2. #
  3. # This is for a system with little memory (<= 64M) where MySQL is only used
  4. # from time to time and it's important that the mysqld deamon
  5. # doesn't use much resources.
  6. #
  7. # You can copy this file to
  8. # /etc/mf.cnf to set global options,
  9. # mysql-data-dir/my.cnf to set server-specific options (in this
  10. # installation this directory is @localstatedir@) or
  11. # ~/.my.cnf to set user-specific options.
  12. #
  13. # One can in this file use all long options that the program supports.
  14. # If you want to know which options a program support, run the program
  15. # with --help option.
  16.  
  17. # The following options will be passed to all MySQL clients
  18. #[client]
  19. #password    = your_password
  20. #port        = @MYSQL_TCP_PORT@
  21. #socket        = @MYSQL_UNIX_ADDR@
  22.  
  23. # Here follows entries for some specific programs
  24.  
  25. # The MySQL server
  26. [mysqld]
  27. #port        = @MYSQL_TCP_PORT@
  28. #socket        = @MYSQL_UNIX_ADDR@
  29. skip-locking
  30. set-variable    = key_buffer=16K
  31. set-variable    = max_allowed_packet=1M
  32. set-variable    = thread_stack=64K
  33. set-variable    = table_cache=4
  34. set-variable    = sort_buffer=64K
  35. set-variable    = net_buffer_length=2K
  36.  
  37. server-id    = 1
  38.  
  39. # Uncomment the following if you want to log updates
  40. #log-bin
  41.  
  42. # Uncomment the following if you are NOT using BDB tables
  43. #skip-bdb
  44.  
  45. # Uncomment the following if you are using Innobase tables
  46. #innobase_data_home_dir = @datadir@
  47. #innobase_log_group_home_dir = @datadir@
  48. #innobase_log_arch_dir = @datadir@
  49. #innobase_data_file_path = ibdata1:25M;ibdata2:37M;ibdata3:100M;ibdata4:300M
  50. #set-variable = innobase_mirrored_log_groups=1
  51. #set-variable = innobase_log_files_in_group=3
  52. #set-variable = innobase_log_file_size=5M
  53. #set-variable = innobase_log_buffer_size=8M
  54. #innobase_flush_log_at_trx_commit=1
  55. #innobase_log_archive=0
  56. #set-variable = innobase_buffer_pool_size=16M
  57. #set-variable = innobase_additional_mem_pool_size=2M
  58. #set-variable = innobase_file_io_threads=4
  59. #set-variable = innobase_lock_wait_timeout=50
  60.  
  61. [mysqldump]
  62. quick
  63. set-variable    = max_allowed_packet=16M
  64.  
  65. [mysql]
  66. no-auto-rehash
  67. # Remove the next comment character if you are not familiar with SQL
  68. #safe-updates
  69.  
  70. [isamchk]
  71. set-variable    = key_buffer=8M
  72. set-variable    = sort_buffer=8M
  73.  
  74. [myisamchk]
  75. set-variable    = key_buffer=8M
  76. set-variable    = sort_buffer=8M
  77.  
  78. [mysqlhotcopy]
  79. interactive-timeout
  80.